import request from '@/utils/request'

//个人信息
export const info = data => request.post('/v1/api/info', data)

//登录
export const login = data => request.post('/user/login', data)

//注册
export const register = data => request.post('/user/register', data)

//修改用户信息
export const update = data => request.post('/user', data)
